package com.neu.af.dataFilter.service;



import com.github.pagehelper.PageInfo;
import com.neu.af.dataFilter.entity.AbData;
import com.neu.af.dataFilter.entity.AbDataExample;

import java.sql.Date;
import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

public interface BasicAbDataService {
    int insert(AbData record);
    int deleteByPrimaryKey(String id);
    int countByExample(AbDataExample example);
    AbData selectByPrimaryKey(String id);
    List<AbData> selectByExample(AbDataExample example);
    int updateByPrimaryKey(AbData record);
    PageInfo<AbData> OrderingAbData(Timestamp startTim, String tagName, Integer page);
    public PageInfo<AbData> ConditionSelect(Timestamp startTim, Timestamp endTime, String descriptor, Integer type, Integer alarmClass, Integer page, String jizuname);
    List<Map> sumClassByWeek(Integer year, Integer week);
    List<Map> sumTagByWeek(Integer year, Integer week);
    List<Map> sumClassByDay(Integer year, Integer week);
    List<Map> comparisonByClass(Integer year, Integer week);
    List<String> getjizuName();
}
